package cn.net.cfss.fgbp.api.console.inte;

import cn.net.cfss.fgbp.api.console.constant.Constants;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

import java.util.List;


/**
 * @author tj
 * @title: ISysRoleProjectService
 * @description: 角色项目接口类
 */
@FeignClient(name = Constants.SPI_SERVER_NAME)
@RequestMapping("roleProject")
public interface ISysRoleProjectService {

    @RequestMapping(value = "/query/project" ,method = RequestMethod.POST,produces="application/json;charset=UTF-8")
    public List<String> queryByProjectId(@RequestBody List<Long> roleIds);

}
